package com.wench.design.pattern.singleton.lazy.demo4;

/**
 * @author wench
 */
public class EnumDemo {

    public static void main(String[] args) {
        SingletonEnum instance = SingletonEnum.INSTANCE;
        SingletonEnum singleton = SingletonEnum.INSTANCE;
        System.out.println(instance == singleton);
    }
}
